package com.iwhalecloud.citybrain.flow.platform.manager.domain.model.app;

import java.util.ArrayList;
import java.util.List;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * Vo - 应用授权
 *
 * @author lilh
 * @date 2019-01-22 16:02
 */
public class FlowAppAuthorizeVo {

    /**
     * 应用id
     */
    @NotEmpty
    private List<Integer> appIds = new ArrayList<>();

    /**
     * 租户id
     */
    @NotNull
    private Integer tenantId;

    public List<Integer> getAppIds() {
        return appIds;
    }

    public void setAppIds(List<Integer> appIds) {
        this.appIds = appIds;
    }

    public Integer getTenantId() {
        return tenantId;
    }

    public void setTenantId(Integer tenantId) {
        this.tenantId = tenantId;
    }
}
